

package com.hexinfo.dmpro.dev.data.transfer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hexinfo.dmpro.common.base.PageResult;
import com.hexinfo.dmpro.dev.data.transfer.model.DesensitizeFieldFilter;

import java.util.List;

/**
 * @Package com.hexinfo.dmpro.dev.data.transfer.service
 * @ClassName IDesensitizeFieldFilterService
 * @Description 脱敏字段黑名单业务接口
 * @Author Wang zhihao
 * @Date 2024/1/8 10:08
 * @Version v1.0
 **/
public interface IDesensitizeFieldFilterService extends IService<DesensitizeFieldFilter> {

    /**
     * @Method queryList
     * @Param
     * @param page
     * @param desensitizeFieldFilter
     * @Return com.hexinfo.dmpro.common.base.PageResult
     * @Description 分页查询
     * @Author Wang zhihao
     * @Date 2024/1/4 17:07
     * @Version V1.0
     */
    PageResult queryList(Page page, DesensitizeFieldFilter desensitizeFieldFilter);

    /**
     * @Method queryListNoPage
     * @Param
     * @param desensitizeFieldFilter
     * @Return java.util.List<com.hexinfo.dmpro.dev.data.transfer.model.desensitizeFieldFilter>
     * @Description 不分页查询
     * @Author Wang zhihao
     * @Date 2024/1/5 11:18
     * @Version V1.0
     */
    List<DesensitizeFieldFilter> queryListNoPage(DesensitizeFieldFilter desensitizeFieldFilter);

    /**
     * @Method save
     * @Param
     * @param desensitizeFieldFilter
     * @Return boolean
     * @Description 新增黑名单
     * @Author Wang zhihao
     * @Date 2024/1/8 14:13
     * @Version V1.0
     */
    boolean save(DesensitizeFieldFilter desensitizeFieldFilter);

    /**
     * @Method removeByIds
     * @Param
     * @param ids
     * @Return boolean
     * @Description 批量删除
     * @Author Wang zhihao
     * @Date 2024/1/4 17:07
     * @Version V1.0
     */
    boolean removeByIds(List<String> ids);

}
